package com.tsd.jxc.fin.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinanceAccountDetail;
import com.tsd.jxc.fin.entity.JxcFinanceAccountDetailExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinanceAccountDetail服务实现层接口
 *
 * @author Hillpool
 * @date 2022/09/01 16:14:21
 */
public interface JxcFinanceAccountDetailService {

    /**
     * 描述：根据id获取JxcFinanceAccountDetail
     *
     * @param id
     */
    JxcFinanceAccountDetail getJxcFinanceAccountDetailById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcFinanceAccountDetail
     *
     * @param sid
     */
    JxcFinanceAccountDetailExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcFinanceAccountDetail
     *
     * @param list
     */
    void deleteJxcFinanceAccountDetails(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcFinanceAccountDetail
     *
     * @param record
     * @param opUser
     */
    void saveJxcFinanceAccountDetail(JxcFinanceAccountDetailExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceAccountDetail
     *
     * @param params
     * @param page
     */
    List<JxcFinanceAccountDetailExt> findJxcFinanceAccountDetails(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinanceAccountDetail
     *
     * @param params
     */
    List<JxcFinanceAccountDetailExt> findJxcFinanceAccountDetails(Map<String, Object> params) throws Exception;

    List<JxcFinanceAccountDetailExt> queryJxcFinanceCheck(Map<String, Object> params, PageBean page);
}